package com.movie.demo.pojo.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Arrangeinfo {

    @TableId
    private int id;
    @TableField
    private String chinese_name;
    @TableField
    private String cname;
    @TableField
    private String r_name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date time;
    @TableField
    private float price;
    @TableField
    private int state;
    @TableField
    private int mid;
    @TableField
    private int rid;
    @TableField
    private int cid;
}
